All Questions
Tagged with cockroachdbnestjs
5 questions
1vote
1answer
110views
Cockroachdb transactions running in readonly mode with typeorm mifgrations
This is my dataSource.ts file import { DataSource } from 'typeorm'; import { Step } from './src/recipe/entity/step.entity'; import { Chemical } from './src/recipe/entity/chemical.entity'; import { ...
0votes
1answer
189views
Error: P1001: Can't reach database server at `crdb`:`26257`
Framework:Nest js ORM: Prisma Database: Cockroach DB (like postgres) OS: Debian 12 I want to run a container using Docker Compose and am getting this error. Prisma schema loaded from prisma/schema....
1vote
1answer
216views
How to ignore getaddrinfo ENOTFOUND in NestJS (using TypeORM)
We have a NestJS application which is using TypeORM for the database layer. We are doing a lot of requests to the database, sometimes the DB refuses the connection and even after some retries it ...
0votes
0answers
327views
Problem reading from rest api with autogenerated BigInt Id
I'm having some issues with my rest api when I try to read from database. My server stack right now is NestJS + Prisma + Cockroachdb At first when I generated a new User, with a POST, all went great ...
1vote
0answers
296views
Nestjs: Loading jsonb from CockroachDB with TypeOrm turns date into string
I'm storing an entity in a CockroachDB, one of the columns is a DTO that is stored in a JSONB column. One of the properties in the DTO is a Date, but when I load it from the database it is a string. ...